<script setup lang="ts">
import { NLayout } from "naive-ui";

import Header from "./Header.vue";
import MainView from "../common/MainView.vue";
import Sider from "./Sider.vue";
import { useCurrentTabChange } from "../../../composables/event/currentTabChange";

useCurrentTabChange();
</script>

<template>
  <NLayout class="tw-h-screen">
    <Header />
    <NLayout position="absolute" class="tw-mt-20" has-sider>
      <Sider />
      <MainView />
    </NLayout>
  </NLayout>
</template>

<style scoped></style>
